#include <LiquidCrystal.h>

LiquidCrystal lcd = LiquidCrystal(A0,A1,A2,5,4,3,2);
char as [][10] = {
  "dua","tiga","empat","lima"};
int i = 0;
void setup(){
  lcd.begin(16,2);
  // lcd.rightToLeft();
//  lcd.cursor();
  digitalWrite(13,HIGH);
  //digitalWrite(3,LOW);
}
void loop(){
  unsigned long x;
  lcd.clear();
  lcd.print(as[i]);

  if(i == 3){
    i = 0;
  }
  else{
    i++;
  }
  lcd.setCursor(0,1);
  x = millis()/1000;
  lcd.print(x);
  delay(1000); 
}

